#requires AutoHotkey v1.1
-; UltimateKEYS (for AutoHotkey v1.1).ahk - 2025-03-10
+; UltimateKEYS (for AutoHotkey v1.1).ahk
; Website : https://pieter-degroote.github.io/UltimateKEYS/
compose.item["s?"] := "{u+2e2e}" ; (⸮) reversed question mark
compose.item["s/"] := "{u+205e}" ; (⁞) vertical four dots
compose.item["s|"] := "{u+00a6}" ; (¦) broken bar
+compose.item["s["] := "{u+2045}" ; (⁅) left square bracket with quill
+compose.item["s]"] := "{u+2046}" ; (⁆) right square bracket with quill
; Compose : Math Symbols
; Key : 2
>!sc003::
-<^>!sc003::Send {u+2264} ; (≤) less-than or equal to
+<^>!sc003::Send {u+00b2} ; (²) superscript 2
>!+sc003::
-<^>!+sc003::Send {u+00b2} ; (²) superscript 2
+<^>!+sc003::Send {u+266b} ; (♫) beamed eighth notes
; Key : 3
>!sc004::
-<^>!sc004::Send {u+2265} ; (≥) greater-than or equal to
+<^>!sc004::Send {u+00b3} ; (³) superscript 3
>!+sc004::
-<^>!+sc004::Send {u+00b3} ; (³) superscript 3
+<^>!+sc004::Send {u+00a7} ; (§) section sign
; Key : 4
>!sc005::
>!sc007::
<^>!sc007::
if GetKeyState("CapsLock", "T")
- Send {u+00c3} ; (Ã) A with tilde
+ Send {u+00cd} ; (Í) I with acute
else
- Send {u+00e3} ; (ã) a with tilde
+ Send {u+00ed} ; (í) i with acute
return
>!+sc007::
<^>!+sc007::
if GetKeyState("CapsLock", "T")
- Send {u+00e3} ; (ã) a with tilde
+ Send {u+00ed} ; (í) i with acute
else
- Send {u+00c3} ; (Ã) A with tilde
+ Send {u+00cd} ; (Í) I with acute
return
; Key : 7
>!sc008::
<^>!sc008::
if GetKeyState("CapsLock", "T")
- Send {u+00d5} ; (Õ) O with tilde
+ Send {u+00cc} ; (Ì) I with grave
else
- Send {u+00f5} ; (õ) o with tilde
+ Send {u+00ec} ; (ì) i with grave
return
>!+sc008::
<^>!+sc008::
if GetKeyState("CapsLock", "T")
- Send {u+00f5} ; (õ) o with tilde
+ Send {u+00ec} ; (ì) i with grave
else
- Send {u+00d5} ; (Õ) O with tilde
+ Send {u+00cc} ; (Ì) I with grave
return
; Key : 8
>!sc009::
<^>!sc009::Send {u+201e} ; („) double low-9 quotation mark
>!+sc009::
-<^>!+sc009::Send {u+00a7} ; (§) section sign
+<^>!+sc009::Send {u+266a} ; (♪) eighth note
; Key : 9
>!sc00A::
; Key : ; / : (semicolon / colon)
>!sc027::
-<^>!sc027::Send {u+00b0} ; (°) degree sign
+<^>!sc027::
+ if GetKeyState("CapsLock", "T")
+ Send {u+00d3} ; (Ó) O with acute
+ else
+ Send {u+00f3} ; (ó) o with acute
+ return
>!+sc027::
-<^>!+sc027::Send {u+00b7} ; (·) middle dot
+<^>!+sc027::
+ if GetKeyState("CapsLock", "T")
+ Send {u+00f3} ; (ó) o with acute
+ else
+ Send {u+00d3} ; (Ó) O with acute
+ return
; Key : ' / " (apostrophe / quotation mark)
>!sc028::
-<^>!sc028::Send {u+266a} ; (♪) eighth note
+<^>!sc028::
+ if GetKeyState("CapsLock", "T")
+ Send {u+00d2} ; (Ò) O with grave
+ else
+ Send {u+00f2} ; (ò) o with grave
+ return
>!+sc028::
-<^>!+sc028::Send {u+266b} ; (♫) beamed eighth notes
+<^>!+sc028::
+ if GetKeyState("CapsLock", "T")
+ Send {u+00f2} ; (ò) o with grave
+ else
+ Send {u+00d2} ; (Ò) O with grave
+ return
; Key : \ / | (backslash / vertical line)
>!sc02B::
>!sc02F::
<^>!sc02F::
if GetKeyState("CapsLock", "T")
- Send {u+00cd} ; (Í) I with acute
+ Send {u+00c3} ; (Ã) A with tilde
else
- Send {u+00ed} ; (í) i with acute
+ Send {u+00e3} ; (ã) a with tilde
return
>!+sc02F::
<^>!+sc02F::
if GetKeyState("CapsLock", "T")
- Send {u+00ed} ; (í) i with acute
+ Send {u+00e3} ; (ã) a with tilde
else
- Send {u+00cd} ; (Í) I with acute
+ Send {u+00c3} ; (Ã) A with tilde
return
; Key : B
>!sc030::
<^>!sc030::
if GetKeyState("CapsLock", "T")
- Send {u+00cc} ; (Ì) I with grave
+ Send {u+00d5} ; (Õ) O with tilde
else
- Send {u+00ec} ; (ì) i with grave
+ Send {u+00f5} ; (õ) o with tilde
return
>!+sc030::
<^>!+sc030::
if GetKeyState("CapsLock", "T")
- Send {u+00ec} ; (ì) i with grave
+ Send {u+00f5} ; (õ) o with tilde
else
- Send {u+00cc} ; (Ì) I with grave
+ Send {u+00d5} ; (Õ) O with tilde
return
; Key : N
; Key : , / < (comma / less-than sign)
>!sc033::
-<^>!sc033::
- if GetKeyState("CapsLock", "T")
- Send {u+00d3} ; (Ó) O with acute
- else
- Send {u+00f3} ; (ó) o with acute
- return
+<^>!sc033::Send {u+00b0} ; (°) degree sign
>!+sc033::
-<^>!+sc033::
- if GetKeyState("CapsLock", "T")
- Send {u+00f3} ; (ó) o with acute
- else
- Send {u+00d3} ; (Ó) O with acute
- return
+<^>!+sc033::Send {u+2264} ; (≤) less-than or equal to
; Key : . / > (period / greater-than sign)
>!sc034::
-<^>!sc034::
- if GetKeyState("CapsLock", "T")
- Send {u+00d2} ; (Ò) O with grave
- else
- Send {u+00f2} ; (ò) o with grave
- return
+<^>!sc034::Send {u+00b7} ; (·) middle dot
>!+sc034::
-<^>!+sc034::
- if GetKeyState("CapsLock", "T")
- Send {u+00f2} ; (ò) o with grave
- else
- Send {u+00d2} ; (Ò) O with grave
- return
+<^>!+sc034::Send {u+2265} ; (≥) greater-than or equal to
; Key : / / ? (slash / question mark)
>!sc035::